Skip to content

Conversation

@DockedFerret800
Copy link
Contributor

With the release of CMake 4.0, compatibility with versions older than 3.5 has been removed. Calls to cmake_minimum_required with older version result in a fatal error.

@cppalliance-bot
Copy link

An automated preview of the documentation is available at https://431.site-docs.prtest2.cppalliance.org/index.html

@nigels-com
Copy link
Contributor

Yes, agreed.

@PeterTurcan PeterTurcan merged commit f85c437 into boostorg:develop Oct 28, 2025
@pdimov
Copy link
Member

pdimov commented Oct 28, 2025

Instead of

cmake_minimum_required(VERSION 3.5)

this should be

cmake_minimum_required(VERSION 3.5...3.31)

or perhaps

cmake_minimum_required(VERSION 3.8...3.31)

which is the new baseline for Boost.

The form without ...max should never be used and generates warnings on recent CMake versions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants